Skip to content

Conversation

@khaledbashir
Copy link

No description provided.

@khaledbashir khaledbashir marked this pull request as draft October 30, 2025 21:37
root and others added 14 commits November 1, 2025 04:02
… FK errors

- Added user existence check in createPresentation and duplicatePresentation
- If session user doesn't exist in DB, create minimal user row within transaction
- Prevents foreign key constraint violations when user ID missing from DB
- Also adds retry logic for image downloads and media upload URL improvements
- Improves web search toggle model compatibility checks
- Adds TITLE tag handling in slide parser
- Increase Pollinations fetch timeout from 15s to 30s (API can be slow)
- Add User-Agent header to image requests
- Increase retry backoff from 500ms to 1000ms per attempt
- Add graceful error return instead of throwing when all attempts fail
- Improve Tavily search error logging with more context
- Add clear warning message when TAVILY_API_KEY is missing
- Before creating user, check if one exists with the session email
- Handles case where NextAuth created user with different ID than session
- Use existing user's ID when email match found
- Prevents P2003 FK errors caused by ID mismatch
- Apply fix to both createPresentation and duplicatePresentation
- Create /presentation/share/[id] page to handle shared links
- Validate that presentation is public before showing
- Redirect to normal presentation view if valid
- Show error page if presentation is private or doesn't exist
- Fixes 404 error when sharing presentations

Note: PowerPoint export formatting needs improvement (tracked separately)
- Add 15s timeout for fetch requests
- Better User-Agent and headers to avoid blocks
- Extract OpenGraph and meta tags for title/description
- Try multiple content extraction patterns (article, main, etc.)
- Clean HTML more thoroughly (remove nav, footer, scripts)
- Convert headings to markdown format
- Better error messages for common failures (403, 404, timeout)
- Validate extracted content length (min 100 chars)
- Format imported content with structure notes
- Log extraction progress for debugging
…ation

- Add conditional import in next.config.js to prevent environment validation during Docker builds
- Fixes build freeze issue where process hangs during 'Creating an optimized production build...'
- Maintains env validation for development while allowing successful Docker builds on EasyPanel
- Implement split-screen layout with features showcase on desktop
- Add modern gradient background with subtle geometric pattern
- Enhance branding with ALLWEONE logo and app description
- Include feature highlights (AI-powered generation, templates, real-time editing)
- Add trust indicators and professional messaging
- Improve mobile responsiveness and visual hierarchy
- Add loading states and better error handling
- Include demo mode option for exploring features
- Enhance accessibility and visual polish
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant